package com.dubbo.service.impl;

import com.dubbo.bean.Order;
import com.dubbo.service.UserService;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
import java.util.UUID;

/**
 * @author by Mr. Li 2020/11/20 13:35
 */
@Service
public class UserServiceImpl implements UserService {


    @Override
    public List<Order> getUserAddressList(int orderId) {
        Order orderById = new Order(orderId, "上海市，青浦区", "小刚", UUID.randomUUID().toString());
        System.out.println(orderById);
        return Arrays.asList(orderById);
    }

}
